<?php
//error_reporting(E_ALL &  E_NOTICE);
error_reporting(E_ALL & E_NOTICE & E_WARNING);//dua len sever thi dung cai nay
//error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
//session_start();
//session_cache_expire(0);
//error_reporting(E_ALL);// & ~E_NOTICE );
//error_reporting(E_ALL & E_NOTICE & E_WARNING);
//header("Cache-Control: no-store, no-cache, must-revalidate");
//------------------------------------------------------------

//define('IS_ADDMIN_PAGE',true);//dua len sever thi dung cai nay
date_default_timezone_set('Asia/Ho_Chi_Minh');
define('IS_ADDMIN_PAGE',true);
include_once('../../common/common.php');
include_once('../../common/configdb.php');
include_once('../../common/config2.php');
include_once(DIR_COMMON.'mysql.class.php');
include_once(DIR_COMMON.'model_base.class.php');
include_once(DIR_COMMON.'control_base.class.php');
include_once(DIR_COMMON.'view_base.class.php');
include_once(DIR_COMMON.'function.php');

include_once(DIR_COMMON.'Resize_Image.php');

global $db;
$db = new MySql(DB_NAME);
$db->connect(HOST_NAME,USER_NAME,PASS,DB_NAME);
mysql_query("SET NAMES 'UTF8'");
//$db->selectdb(_dbName);
global     $arrayError;
//--------------------

?>
